package com.renjian.springboot_01_03_quickystart.controller;


import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

//Rest模式
@RestController
@RequestMapping("/books")
public class BookController {
    @GetMapping
    public String getByID(){
        return "springboot is runing........3";
    }
}
